package com.theme.passport.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.theme.passport.entity.UserEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

public interface IWeatherApi extends IService<UserEntity> {
//    @GetMapping("${weather.auth.config.weatherEndpoint}/{lang}/{lat}/{lon}")
//    Map<String, Object> getWeatherByLocation(@RequestHeader("Authorization") String token, @PathVariable("lang") String lang, @PathVariable("lat") String lat, @PathVariable("lon") String lon, @RequestParam Map<String, String> params);


}
